<!DOCTYPE html>
<!-- saved from url=(0055)http://www.zhuanzhuanduo.com/member/refund.php?status=3 -->
<html class="hb-loaded">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

		<meta name="robots" content="noarchive">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>垫付任务返款管理</title>
		<meta content="会员中心" name="keywords">
		<meta content="会员中心" name="description">
		<!--<base href="http://www.zhuanzhuanduo.com/">-->
		<base href=".">
		
		<script src="js/jquery.min.js"></script>
		<script src="js/base.min.js" id="jsbase" source="ysr"></script>
	<!--	<script src="js/layer.js"></script>-->
		<link rel="stylesheet" href="css/layui.css" />
		<!--<link rel="stylesheet" href="css/layer.css" id="layuicss-layer">-->

		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
		<link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css">
		<link rel="stylesheet" type="text/css" href="css/common.css">
		<link rel="stylesheet" type="text/css" href="css/module.css">
		<link rel="stylesheet" type="text/css" href="css/global2471.css">
		<script type="text/javascript" src="js/bootstrap.min.js"></script>
		<link rel="stylesheet" type="text/css" href="css/base.min.css">
		<link rel="stylesheet" type="text/css" href="css/business.css">
		<script type="text/javascript" src="js/global.min.js"></script>
		<link rel="stylesheet" type="text/css" href="css/releasetaskf700.css">
		<script type="text/javascript" src="js/image.min.js"></script>
		<script type="text/javascript" src="js/jquery.validate.min.js"></script>
		
		<script>
			var thisPageId = 'home';
			var siteId = '1022';
			if(siteId == '1013') {
				var currSellerId = '133320';
				var yushu;
				if(currSellerId == '') {
					yushu = (new Date().getTime()) % 4;
				} else {
					yushu = parseInt(currSellerId) % 4;
				}
				$('#imgqrcode').attr('src', '/v1/site/' + siteId + '/wx' + yushu + '.png');
			}
		</script>
		<script type="text/javascript" src="js/main.min.js"></script>
	</head>

	<body huaban_collector_injected="true">
		<div class="global-prompt" id="global-prompt"></div><img id="buffer" src="./垫付任务返款管理_files/buffer.gif" style="top: 444px; left: 991px;">
		<div id="mask"></div>
		<div id="header" style="padding:0px;">
			<div class="top top-login">
				<div class="w-1k f-cb">
					<ul class="f-cb f-fr">
						<li class="f-fl  p-r">
							<div>
								<!--                         <a class="tp-nv">
                            <img src="templates/400011/skins/default/resources/images/level/seller_1.png" style="padding-left:13px;">
                        </a> -->
								<a class="tp-nv" style="padding-right:13px;" href="http://www.zhuanzhuanduo.com/member/shopaccount.php" id="div-uname">
									13592507037 </a>
							</div>
						</li>
						<li class="f-fl">
							<span class="tp-nv v-bar" style="padding-left:0px;">|</span>
						</li>
						<li class="f-fl">
							<a class="tp-nv" href="http://www.zhuanzhuanduo.com/pay/showpayment.php?tab=online" title="账户中心">本金：
								<span class="ye" id="div-seller-benjin">34.00</span>元</a>
							<a class="striking" title="账户充值" href="http://www.zhuanzhuanduo.com/pay/showpayment.php?tab=online"> 充值</a>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;佣金：
							<span class="ye" id="div-seller-benjin1">10.00</span>金
							<a class="striking" title="账户充值" href="http://www.zhuanzhuanduo.com/pay/pay.php"> 充值</a>
						</li>
						<li class="f-fl">
							<span class="tp-nv v-bar" style="padding-left:13px;padding-right:13px;">|</span>
						</li>
						<li class="f-fl">
							<a style="display:block;" href="http://www.zhuanzhuanduo.com/member/logout.php"><span>退出</span></a>
						</li>
						<li class="f-fl">
							<span class="tp-nv v-bar" style="padding-left:13px;padding-right:13px;">|</span>
						</li>
						<li class="f-fl">
							<a class="edit_pwd" data-toggle="modal" data-target=".change_pwd">修改密码</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<div id="navgation" style="padding:0px 0px 15px 0px;">
			<div class="hd">
				<div class="w-1k f-cb p-r">
					<a href=""><img class="logo" src="images/logo4.png"></a>
					<ul class="f-cb f-fr f-fr-navtab">
						<!--<li class="f-fl "><a class="hd-nv a_mehome active" href="/member/index.php">商家中心</a></li>-->
					</ul>
				</div>
			</div>
		</div>

		<div class="w-1k" style="margin-top: 10px;margin-bottom: 10px;text-align: center;" id="div-new-article"></div>
		<link rel="stylesheet" type="text/css" href="css/taskmanagef700.css">
		<link rel="stylesheet" type="text/css" href="css/taskdetail.css">
		<!--<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">-->
		<!--<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css">-->
		<link rel="stylesheet" href="css/viewer.css">
		<!--<script type="text/javascript" src="js/order_view.js"></script>-->
		<!--<script src="templates/400011/skins/default/js/jquery-3.1.0.min.js"></script>-->

		<style>
			.loading {
				position: fixed;
				top: 0;
				right: 0;
				bottom: 0;
				left: 0;
				z-index: 1050;
				display: none;
				overflow: auto;
				overflow-y: scroll;
				-webkit-overflow-scrolling: touch;
				outline: 0;
			}
		</style>
	

<!--正确-->

<div class="row w-1k ct-wrap f-cb">	
	<div class="f-fl left-nav">
				<ul class="nav-group">
					<li class="nav-item p-r a_home ">
						<a class="click-wrap" href="/member/index.php">
							<span class="nav-btn nb0">商家公告</span>
						</a>
					</li>
					<li class="nav-item p-r a_message a_messae_view ">
						<a class="click-wrap" href="/member/email.php">
							<span class="nav-btn nb5">邮件</span>
							<div class="num-count email"></div>
						</a>
					</li>
					<li class="nav-item p-r a_task_step1 a_task_step2 a_task_step3 a_task_step4 a_task_price a_openvip ">
						<a class="click-wrap" href="/member/shopquest.php?act=add">
							<span class="nav-btn nb1">发布任务</span>
						</a>
					</li>
					<li class="nav-item p-r a_shop ">
						<a class="click-wrap" href="/member/shopaccount.php">
							<span class="nav-btn nb3">店铺管理</span>
						</a>
					</li>
					<li class="nav-item p-r a_task_list active">
						<a class="click-wrap" href="/member/shopquest.php">
							<span class="nav-btn nb2">任务管理</span>
							<div class="num-count task"></div>
						</a>
					</li>
					<li class="nav-item p-r a_task_list ">
						<a class="click-wrap" href="/member/cancel.php">
							<span class="nav-btn nb2">可撤销订单</span>
							<div class="num-count task"></div>
						</a>
					</li>
					<li class="nav-item p-r a_task_list ">
						<a class="click-wrap" href="/member/cancel_browse.php">
							<span class="nav-btn nb2">已撤销订单</span>
							<div class="num-count task"></div>
						</a>
					</li>
					<li class="nav-item p-r a_fund ">
						<a class="click-wrap" href="/pay/pay.php">
							<span class="nav-btn nb4">资金明细</span></a>
					</li>
					<li class="nav-item p-r a_recharge ">
						<a class="click-wrap" href="/pay/showpayment.php?tab=online">
							<span class="nav-btn nb3">充值提现</span>
						</a>
					</li>
					<li class="nav-item p-r a_shop ">
						<a class="click-wrap" href="/member/show_price.php">
							<span class="nav-btn nb3">价格明细</span>
						</a>
					</li>
					<li class="nav-item p-r a_appeal a_appeal_view ">
						<a class="click-wrap" href="/member/appeal.php">
							<span class="nav-btn nb5">申诉中心</span>
							<div class="num-count appeal"></div>
						</a>
					</li>
					<li class="nav-item p-r a_extension ">
						<a class="click-wrap" href="/member/extension.php">
							<span class="nav-btn nb6">邀请好友</span>
						</a>
					</li>
					<li class="nav-item p-r a_backlist ">
						<a class="click-wrap" href="/member/backlist.php">
							<span class="nav-btn nb7">黑名单</span>
						</a>
					</li>
					<li class="nav-item p-r a_feedback ">
						<a class="click-wrap" href="/member/feedback.php">
							<span class="nav-btn nb8">意见反馈</span>
						</a>
					</li>
				</ul>
			</div>

    <div class="f-fl main">
    	<div class="mnc">
    		<div class="tm-tab f-pr">
						<div class="f-cb">
							<a class="f-fl mntab a_task_list" href="member/index.php">首页</a>
							<a class="f-fl mntab a_task_list " href="member/shopquest.php">垫付任务管理</a>
							<a class="f-fl mntab a_express_list " href="member/refund.php?status=3"style="background: #26A69A;color: white;">垫付任务返款管理</a>
							<a class="f-fl mntab a_express_list " href="member/order_list.php?page=1">垫付进行中订单</a>
							<a class="f-fl mntab a_order_list_history " href="member/order_history.php?status=6">垫付历史订单</a>
							<a class="f-fl mntab a_order_list_all " href="member/order_all.php">进行及历史订单</a>
						</div>
					</div>
    		<form class="query-form clearfix" id="queryForm" action="http://www.zhuanzhuanduo.com/">
					<div class="col">
						<label style="padding-left:10px">店铺：</label>
						<select name="shopId" id="shopId">
							<option value="">全部</option>
							<option value="2248">低价百姓服饰店</option>
						</select>
					</div>
					<div class="col">
						<label>买手ID：</label><input type="text" name="customerid" id="customerid" value="" placeholder="">
					</div>
					<div class="col">
						<label>任务ID：</label><input type="text" name="taskid" id="taskid" value="" placeholder="">
					</div>
					<div class="col">
						<label>订单ID：</label><input type="text" name="customerTaskId" value="" placeholder="">
					</div>
					<!--<div class="col">
						<label>旺旺号：</label><input type="text" name="buyId" id="buyId" value="" placeholder="">
					</div>-->
					<div class="col">
						<label>淘宝订单编号：</label><input type="text" name="orderId" id="orderId" value="" placeholder="">
					</div>
					<div class="col">
						<label>接单时间：</label>
						<input type="text" class="Wdate" name="stime" id="test1" value="" style="width:100px" placeholder=""> 到
						<input type="text" class="Wdate" name="etime" id="etime" value="" style="width:100px" placeholder="">
					</div>
					<div class="col">
						<button class="btn btn-search" type="submit" onclick="location.href=&#39;member/refund.php&#39;">搜索</button>&nbsp;&nbsp;&nbsp;
						<a class="btn" style="height: auto" id="exportdata" href="http://www.zhuanzhuanduo.com/member/refund.php?status=3&amp;export_xls=1">导出订单</a>
						
					</div>
				</form>
    		<div class="refund-warning f-pr">
					<img class="warn" src="./垫付任务返款管理_files/warning.png">
					<p>平台任务确认后垫资直接到达用户的本金账户，商家核对订单后及时确认订单；如未及时确认，系统将于24小时自动返款；手动返款确认后需商家往用户的平台账户返款，返款时前请仔细核对用户的任务信息和返款金额，因为手动返款造成的失误平台只能尽力协助，造成的后果由商家自己承担。</p>
				</div>
			
				
				
				<table class="table table-bordered table-hover">
					<thead>
						<tr style="background-color: #fafbfb;height:50px">
							<th>
								<input type="checkbox" id="checkall"><span style="position: relative;left: 5px;">全选</span>&nbsp;&nbsp;&nbsp;&nbsp;
							</th>
							<th>订单信息</th>
							<th>买手信息</th>
							<th>付款时间与截图</th>
							<th>返款信息</th>
							<th>操作</th>
							
						</tr>
					</thead>
					<tbody>
						<tr style="height:50px">
							<td>
								<input type="checkbox" id="checkall"><span style="position: relative;left: 5px;">全选</span>&nbsp;&nbsp;&nbsp;&nbsp;
							</td>
							<td>
								<a href="http://www.zhuanzhuanduo.com/member/order_detail1.php?orderid=13376059">
									13376059 </a>
							</td>
							<td>10387474</td>
							<td>133467</td>
							<td>董北北94059441</td>
							<td>

								已完成 </td>
							
						</tr>
					</tbody>
					<tbody>
						<tr style="height:50px">
							<td>
								<input type="checkbox" id="checkall"><span style="position: relative;left: 5px;">全选</span>&nbsp;&nbsp;&nbsp;&nbsp;
							</td>
							<td>
								<a href="http://www.zhuanzhuanduo.com/member/order_detail1.php?orderid=12484350">
									12484350 </a>
							</td>
							<td>10295070</td>
							<td>12668</td>
							<td>洁宝宝1203</td>
							<td>已完成 </td>
					
						</tr>
					</tbody>
				
				
				</table>
				<form onsubmit="return refundMulti()" method="post" id="form1">
						<div class="d-b">
							<ul class="f-cb">
								<li style="text-align:center;">暂无待返款订单！</li>
							</ul>
						</div>
					</form>

    	</div>
    </div>
</div>






		








<div class="modal fade shop_seeting" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
			<div class="modal-dialog">
				<form class="form-horizontal" action="http://www.zhuanzhuanduo.com/#" method="post" id="form1">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
							<h4 class="modal-title" id="myModalLabel">返款确认</h4>
						</div>
						<div class="modal-body">
							<input type="hidden" id="customerTaskId" name="customerTaskId">
							<div class="text-center form-group" style="margin-top: 15px;">
								<div class="col-sm-10 clearfix">
									返款金额：<input type="text" id="fankuan" name="fankuan" value="" style="width:150px;height:30px">元
								</div>
							</div>

							<div class="text-center form-group">
								<span class="red">恶意调低返款金额将会冻结账号！</span>
							</div>
						</div>

						<div class="modal-footer" style="text-align: center;">
							<button type="button" class="btn btn-default" id="bsubmit">
                        <span class="glyphicon glyphicon-ok" style="color: green"></span>&nbsp;确认提交
                    </button>
							<button type="button" class="btn btn-default" data-dismiss="modal">
                        <span class="glyphicon glyphicon-remove" style="color: #ff0000"></span>&nbsp;取消退出
                    </button>
						</div>
					</div>
				</form>
			</div>
		</div>

		<div class="loading" id="loading">
			<iframe name="" width="100%" height="100%" frameborder="no" border="0" src="./垫付任务返款管理_files/loading.html"></iframe>
		</div>

		<div class="ui-dialog seebuyerinfo" id="seebuyertel">
			<a class="dialog-close close" href="javascript: void(0)"><img src="./垫付任务返款管理_files/dialog_close.png"></a>
			<div class="tt">查看用户联系方式</div>
			<div class="cont-wrap f-cb">
				<div class="f-fl"><img class="infotypelogo" src="./垫付任务返款管理_files/logo_tel.png"></div>
				<ul class="f-fl">
					<li class="buyerinfo"></li>
					<li class="buyerid">买手ID：<span></span></li>
				</ul>
			</div>
			<div class="desc">如无法取得联系，申诉用户并申请平台介入，工作人员会处理</div>
		</div>

		<div class="ui-dialog seebuyerinfo" id="seebuyerqq">
			<a class="dialog-close close" href="javascript: void(0)"><img src="./垫付任务返款管理_files/dialog_close.png"></a>
			<div class="tt">查看用户联系方式</div>
			<div class="cont-wrap f-cb">
				<div class="f-fl"><img class="infotypelogo" src="./垫付任务返款管理_files/logo_qq.png"></div>
				<ul class="f-fl">
					<li class="buyerinfo"></li>
					<li class="buyerid">买手ID：<span></span></li>
				</ul>
			</div>
			<div class="desc">如无法取得联系，申诉用户并申请平台介入，工作人员会处理</div>
		</div>

		<div class="ui-dialog" id="addblackdialog" style="height: 450px">
			<div class="tt" style="text-align: center;">添加黑名单</div>
			<div class="dipt-wrap">
				<form action="http://www.zhuanzhuanduo.com/#" id="blackForm">
					<input type="hidden" id="blackCustomerId" name="customerId">
					<div class="dct">
						<div style="margin-bottom: 20px;" class="hide">
							<label><span style="color:red;font-weight: bold;">　*</span>类型</label>
							<select class="select blacktype" style="width: 540px;margin-left: 20px;">
								<option value="1">京挑客</option>
								<option value="2">京东农村电商号</option>
								<option value="3">淘宝评价被删除</option>
								<option value="4">淘宝客</option>
								<option value="5">操作不规范</option>
								<option value="6">未按要求评价</option>
								<option value="7">恶意退款</option>
								<option value="100">其它</option>
							</select>
						</div>
						<div style="margin-bottom: 20px;" class="hide">
							<label>结束时间</label>
							<!--<input class="Wdate ipt" type="text" style="width: 540px;margin-left: 12px;" placeholder=" 可选，到期自动解除">-->
						</div>
						<div style="margin-bottom: 20px;">
							<label style="position: relative;top: -110px;">原因</label>
							<textarea class="reason" name="reason" rows="5" placeholder="请简单描述拉黑原因，非必填，最多800字"></textarea>
						</div>
					</div>
				</form>
			</div>
			<div class="smtopt f-cb">
				<input class="sure btn-bs f-fl" type="button" value="" id="blackBtn">
				<input class="cancel btn-bc f-fl" type="button" value="">
			</div>
		</div>

		<div class="ui-dialog" id="sureappeal">
			<div class="tipswords">强烈建议您申诉前尽量先自行电话(
				<a class="striking getphonenum" href="javascript:void(0)" title="点击获取">获取用户电话号码</a>)联系用户解决做任务中出现的问题</div>
			<a class="stillappeal btn btn-stillappeal" href="http://www.zhuanzhuanduo.com/#" id="to-appeal-btn"></a>
			<a class="close btn btn-cancelappeal" href="javascript: void(0)"></a>
		</div>

		<script>
			// showLoading();
			var thisPageId = 'order_list_refund';

			var siteId = '1022';
			if(siteId == '1013') {
				var currSellerId = '134750';
				var yushu;
				if(currSellerId == '') {
					yushu = (new Date().getTime()) % 4;
				} else {
					yushu = parseInt(currSellerId) % 4;
				}
				$('#imgqrcode').attr('src', 'templates/400011/skins/default/v1/site/' + siteId + '/wx' + yushu + '.png');
			}

			if(siteId == '1001') {
				var currSellerId = '134750';
				var yushu;
				if(currSellerId == '') {
					yushu = (new Date().getTime()) % 4;
				} else {
					yushu = parseInt(currSellerId) % 4;
				}
				$('#imgqrcode').attr('src', 'templates/400011/skins/default/v1/site/' + siteId + '/wx' + yushu + '.png');
			}
		</script>
		<script type="text/javascript" src="js/main.min.js"></script>
		<!--<script type="text/javascript" src="templates/400011/skins/default/v12/js/page.min.js"></script>-->
		<script type="text/javascript" src="js/customer.js"></script>
		<script type="text/javascript" src="js/page.min.js"></script>
		<!--<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>-->
		<!--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.bundle.min.js"></script>-->
		<script src="js/viewer.js"></script>
		<script>
			//    $('#shopId').val('');
			$('#isrefund').val('');

			$(".setting").click(function() {
				var id = $(this).data("id");
				var pay = $(this).data("pay");
				$("#customerTaskId").val(id);
				$("#fankuan").val(pay);
			});

			$("#bsubmit").click(function() {
				$("#bsubmit").attr({
					"disabled": "disabled"
				});
				var customerTaskId = $('#customerTaskId').val();
				var fankuan = $('#fankuan').val();
				var data = {
					orderid: [customerTaskId],
					fankuan: fankuan,
					action: "refund"
				};
				Call.ajaxSend('/member/refund.php', data, function(d) {
					if(d.success == true) {
						Call.httpLoad();
					} else {
						if(d.errorcode == 301 || d.errorcode == 302) {
							Call.httpLoad();
						}
						if(d.errorcode == 400) {
							window.location.href = 'pay/showpayment.php?tab=online';
						}
						$("#bsubmit").removeAttr("disabled");
						alert(d.msg);
					}
				});
			});
		</script>
		<script type="text/javascript">
			// $(function(){
			//     $(".fancybox-effects-d").fancybox({
			//         padding: 0,
			//         openEffect : 'elastic',
			//         openSpeed  : 150,
			//         closeEffect : 'elastic',
			//         closeSpeed  : 150,
			//         closeClick : true,
			//         helpers : {
			//             overlay : null
			//         }
			//     });
			// });
			//控制滚动条滚动
			var keys = {
				37: 1,
				38: 1,
				39: 1,
				40: 1
			};

			function preventDefault(e) {
				e = e || window.event;
				if(e.preventDefault)
					e.preventDefault();
				e.returnValue = false;
			}

			function preventDefaultForScrollKeys(e) {
				if(keys[e.keyCode]) {
					preventDefault(e);
					return false;
				}
			}
			var oldonwheel, oldonmousewheel1, oldonmousewheel2, oldontouchmove, oldonkeydown, isDisabled;

			function disableScroll() {
				if(window.addEventListener) // older FF
					window.addEventListener('DOMMouseScroll', preventDefault, false);
				oldonwheel = window.onwheel;
				window.onwheel = preventDefault; // modern standard
				oldonmousewheel1 = window.onmousewheel;
				window.onmousewheel = preventDefault; // older browsers, IE
				oldonmousewheel2 = document.onmousewheel;
				document.onmousewheel = preventDefault; // older browsers, IE
				oldontouchmove = window.ontouchmove;
				window.ontouchmove = preventDefault; // mobile
				oldonkeydown = document.onkeydown;
				document.onkeydown = preventDefaultForScrollKeys;
				isDisabled = true;
			}

			function enableScroll() {
				if(!isDisabled) return;
				if(window.removeEventListener)
					window.removeEventListener('DOMMouseScroll', preventDefault, false);
				window.onwheel = oldonwheel; // modern standard
				window.onmousewheel = oldonmousewheel1; // older browsers, IE
				document.onmousewheel = oldonmousewheel2; // older browsers, IE
				window.ontouchmove = oldontouchmove; // mobile
				document.onkeydown = oldonkeydown;
				isDisabled = false;
			}
			window.scrollHanlder = {
				disableScroll: disableScroll,
				enableScroll: enableScroll
			};
		</script>
		<script>
			window.addEventListener('DOMContentLoaded', function() {
				var galley = document.getElementsByClassName("pro_img");
				for(var i = 0; i < galley.length; i++) {
					galley[i].src = "http://www.zhuanzhuanduoweb.com:17008/" + galley[i].getAttribute('src');
					var viewer = new Viewer(galley[i], {
						url: 'data-original',
						toolbar: {},
					});
				}
			});
		</script>
		<script>
			function refundMulti() {
				var confim = confirm('请注意！使用批量返款时，务必确认买手填写信息（如返款金额、订单编号等）准确无误。因此导致的问题，平台概不负责，谨慎使用！');
				if(confim) {
					return true;
				} else {
					return false;
				}
			}

			var all = document.getElementById('checkall');
			var chooseone = document.getElementsByClassName('choose_one');
			all.onclick = function() {
				if(all.checked == true) {
					for(var i = 0; i < chooseone.length; i++) {
						chooseone[i].checked = true;
					}
				} else {
					for(var i = 0; i < chooseone.length; i++) {
						chooseone[i].checked = false;
					}
				}
			};
			for(var i = 0; i < chooseone.length; i++) {
				chooseone[i].onclick = function() {
					var flag = true;
					for(var j = 0; j < chooseone.length; j++) {
						if(chooseone[j].checked == false) {
							flag = false;
						}
					}
					all.checked = flag;
				};
			}
		</script>
		<script>
			var fileInput = $('#upload').get(0);
			fileInput.addEventListener("change", function(e) {
				document.getElementById("loading").style.display = 'block';
				imageCallback = function(data) {
					$.ajax({
						type: "POST",
						url: "/member/refund.php?act=importExcel",
						data: {
							'filePath': data
						},
						dataType: 'json',
						success: function(data) {
							document.getElementById("loading").style.display = 'none';
							if(data.success) {
								//0-查无订单 1-不处于返款发货 2-申诉中 3-返款金额小于等于0 4-余额不足 5-处理成功
								var showStr = "预计处理：" + +data.result[0] + "单,实际处理：" + data.result[1] + "单";
								if(data.result[11]) {
									showStr += ",查无订单：" + data.result[11] + "单";
								}
								if(data.result[12]) {
									showStr += "，不处于返款发货：" + data.result[12] + "单";
								}
								if(data.result[13]) {
									showStr += "，申诉中：" + data.result[13] + "单";
								}
								if(data.result[14]) {
									showStr += "，返款金额小于等于0：" + data.result[14] + "单";
								}
								if(data.result[15]) {
									showStr += "，余额不足：" + data.result[15] + "单";
								}

								alert(showStr);
							} else if(!data.success) {
								alert(data.msg);
							}

							window.location.reload();
						},
						error: function(rsg) {
							// alert(rsg.status);
						},
					})
				};

				var formData = new FormData();
				formData.append("preview", document.getElementById("upload").files[0]);
				$.ajax({
					url: "/member/upload_excel.php",
					type: "POST",
					data: formData,
					contentType: false,
					processData: false,
					success: function(res) {
						// alert("上传成功！" + JSON.stringify(res, null, 2));
						var obj = JSON.parse(res);
						imageCallback(obj.data.url);
					},
					error: function(res) {
						document.getElementById("loading").style.display = 'none';
						alert(res.msg);
						alert("上传失败！");
					}
				});
			})
		</script>
		<link rel="stylesheet" type="text/css" href="css/style.css">
		

<!--
		<script>
			getImgvcode();
			getVcode(1);
			$(".cancle").click(function() {
				$(".box-mask").hide();
				$("#imgvcode").val('');
			})
		</script>
-->
	
		</div>
		</div>
		
		<script src="laydate/laydate.js"></script>
		<script>
laydate.render({
  elem: '#test1' 
});		
			
			
		</script>
		
	</body>

</html>